www.gusucode.com > Piwik 网站流量统计系统 v2.9.1PHP源码程序 > Piwik 网站流量统计系统 v2.9.1/How to install Piwik.html/piwik/plugins/Goals/Reports/GetDaysToConversionEcommerceOrder.php
<?php /** * Piwik - free/libre analytics platform * * @link http://piwik.org * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later * */ namespace Piwik\Plugins\Goals\Reports; use Piwik\Metrics; use Piwik\Piwik; use Piwik\Plugins\Goals\Columns\DaysToConversion; class GetDaysToConversionEcommerceOrder extends BaseEcommerce { protected function init() { parent::init(); $this->action = 'getDaysToConversion'; $this->name = Piwik::translate('General_EcommerceOrders') . ' - ' . Piwik::translate('Goals_DaysToConv'); $this->dimension = new DaysToConversion(); $this->constantRowsCount = true; $this->processedMetrics = false; $this->metrics = array('nb_conversions'); $this->order = 12; $this->parameters = array('idGoal' => Piwik::LABEL_ID_GOAL_IS_ECOMMERCE_ORDER); } }